package cn.com.duiba.millionaire.center.biz.service;

import cn.com.duiba.millionaire.center.api.dto.MillionaireConsumerAccountRecordDto;
import cn.com.duiba.millionaire.center.api.dto.PagenationDto;
import cn.com.duiba.millionaire.center.api.requestParam.AccountRecordRequestParam;

import java.util.List;

/**
 * Created by qianjue on 2018/1/30.
 */
public interface ConsumerAccountRecordService {

	PagenationDto<MillionaireConsumerAccountRecordDto> queryAccountRecordPage(AccountRecordRequestParam param);


	List<MillionaireConsumerAccountRecordDto> queryAccountListByParam(AccountRecordRequestParam param);
	/**
	 * 根据业务类型及ID查询用户账户变更记录
	 * @param consumerId
	 * @param bizType
	 * @param bizId
	 * @return
	 */
	MillionaireConsumerAccountRecordDto findByConsumerIdAndBizTypeAndBizId(Long consumerId, Integer bizType, String bizId);

	MillionaireConsumerAccountRecordDto insert(MillionaireConsumerAccountRecordDto millionaireConsumerAccountRecord);
}
